package com.mpyy.service.purchase;

import com.mpyy.dao.purchase.SearchSupplierDaoInter;
import com.mpyy.pojo.SupplierInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Descoription SearchsupplierServiceImpl
 * @Author CG
 * @date 2022-03-15
 */
@Service(value = "searchsupplierServiceImpl")
public class SearchsupplierServiceImpl implements SearchsupplierServiceInter {
    @Autowired
    @Qualifier(value = "searchSupplierDaoInter")
    private SearchSupplierDaoInter searchSupplierDao;

    @Override
    public List<SupplierInfo> searchsupplierInfo() {
        return searchSupplierDao.searchSupplier();
    }
}
